package com.jingshui.Dao.imp;

import com.jingshui.Dao.ReferrerDao;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Repository;
import orm.base.Ex.BaseDaoEx;

import java.util.Map;

/**
 * Created by ashin on 2017/10/9.
 */

@Repository
@Scope("prototype")
public class ReferrerDaoImp extends BaseDaoEx implements ReferrerDao {

    @Override
    protected void init() {
        super.init(this);
    }

    @Override
    public Map getReferrerCount(Map map) throws Exception {
        return this.get("getReferrerCount",map);
    }
}
